import request from '@/utils/request'
export const reqSuggestion = (keyWord) => {
  return request({
    method: 'get',
    url: '/v1_0/suggestion',
    params: {
      q: keyWord
    }
  })
}
export const reqSearchResult = (keyWord, page, per_page = 10) => {
  return request({
    method: 'get',
    url: '/v1_0/search',
    params: {
      q: keyWord,
      page,
      per_page
    }
  })
}
